Skip to content

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Jul 29, 2024

For qlref tests this uses the new ability to use a post-processing query.

@github-actions github-actions bot added the Go label Jul 29, 2024
@owen-mc owen-mc added the no-change-note-required This PR does not need a change note label Jul 29, 2024
@owen-mc
Copy link
Contributor Author

owen-mc commented Jul 29, 2024

6 tests failed with the following output:

Postprocess query result is ambiguous for column 1 of line 0 in output grid models
[74/523 comp 274ms eval 927ms] FAILED(EXECUTION) /home/runner/work/codeql/codeql/go/ql/test/query-tests/Security/CWE-347/MissingJwtSignatureCheck.qlref

@owen-mc owen-mc force-pushed the go/provenance-postprocess-qltest branch from 33307f9 to ffeb86c Compare July 30, 2024 11:55
This commit will be reverted when a bug is fixed which is currently
stopping these tests from working with post-processing.
@owen-mc
Copy link
Contributor Author

owen-mc commented Jul 30, 2024

I rebased on top of #17072, which changed the model numbering. I also added a commit reverting the post-processing for 6 tests which currently hit a bug in the post-processing implementation. When the bug is fixed I will re-convert them, but in the meantime it seems best to merge post-processing for all of the other tests.

@owen-mc owen-mc marked this pull request as ready for review July 30, 2024 12:40
@owen-mc owen-mc requested a review from a team as a code owner July 30, 2024 12:40
Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks plausible except for the duplicate numbering problem already noted

@owen-mc owen-mc merged commit 3ece3ec into github:main Jul 31, 2024
@owen-mc owen-mc deleted the go/provenance-postprocess-qltest branch July 31, 2024 08:54
@owen-mc owen-mc mentioned this pull request Aug 14, 2024
@owen-mc owen-mc mentioned this pull request Nov 7, 2024
7 tasks
@owen-mc owen-mc changed the title Go: Add support for provenance pretty-printing Go: Use provenance pretty-printing for qlref tests Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Go no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants